
// 获取令牌信息
export function getAuthorization() {
    return localStorage.getItem((window as any).config.authorization)
}

// 设置令牌信息
export function setAuthorization(token:string) {
    localStorage.setItem((window as any).config.authorization, token)
}

// 移除令牌信息
export function removeAuthorization() {
    localStorage.removeItem((window as any).config.authorization)
}


export default { getAuthorization, setAuthorization, removeAuthorization }
